//覆盖一些element-ui样式

.el-breadcrumb__inner, .el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

.el-tabs__content {
  overflow: visible;
}

.el-input__inner {
  border-radius: 1px;
}

.el-button {
  border-radius: 1px;
}

.el-form-item__label {
  font-weight: normal;
}

.el-card.is-always-shadow, .el-card.is-hover-shadow:focus, .el-card.is-hover-shadow:hover {
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);
}

.el-tabs__header {
  margin-bottom: 10px;
}

.el-tabs--card > .el-tabs__header .el-tabs__nav {
  border: none;
  border-radius: 0;
}

.el-tabs__item {
  border-radius: 4px 4px 0 0;
  margin-right: 10px;
  background-color: rgb(232, 232, 232);
  border: 1px solid #E4E7ED;
  border-bottom: none;

  &.is-active {
    background-color: transparent;
  }
}

.el-tabs--card > .el-tabs__header .el-tabs__item:first-child {
  border-left: 1px solid #E4E7ED;
}

.el-message-box {
  border-radius: 1px;
}

.el-message-box__header {
  padding: 15px 15px 0 15px;
}
.el-message-box__title {
  padding-bottom: 15px;
  border-bottom: 1px solid #E4E7ED;
}
.el-message-box__content {
  padding: 15px;
  .el-message-box__status {
    font-size: 42px!important;
  }
  .el-message-box__status + .el-message-box__message {
    padding-left: 52px;
  }
}
.el-message-box__status.el-icon-warning {
  color: rgb(255, 198, 0);
}
.el-message-box__status.el-icon-error {
  color: rgb(229, 48, 45);
}
.el-message-box__status.el-icon-success {
  color: rgb(60, 207, 18);
}

.el-table th {
  background-color: rgb(246, 250, 254);
}

.el-button--success {
  background-color: rgb(60, 207, 18);
  border-color: rgb(60, 207, 18);
}

.el-button--danger {
  background-color: rgb(229, 48, 45);
  border-color: rgb(229, 48, 45);
}

.el-card__header {
  padding: 15px 10px 0 10px;
  border-bottom: none;
  .card-title-text {
    padding-bottom: 15px;
    border-bottom: 1px solid #EBEEF5;
  }
}
.el-card__body {
  padding: 10px;
}

.el-date-editor .el-range-separator {
  width: 2em;
}

.el-dialog__header {
  padding: 15px 20px;
  border-bottom: 1px solid #EBEEF5;
}
